package com.genius.workflow.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "完成任务BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class CompleteTaskBO {
    @NotBlank(message = "任务ID不能为空")
    @ApiModelProperty("任务ID")
    private String taskId;

    @ApiModelProperty("互斥网关状态")
    private int pass;

    @NotBlank(message = "审批记录不能为空")
    @ApiModelProperty("审批记录")
    private String comment;
}
